﻿using System;
using System.Collections.Generic;
using System.Text;
using WindowControlLib;

namespace ECC_EXT_WindowControlLib
{
    public class OperationControl
    {
        public static void ShowMSC()
        {
            IntPtr HWnd =
                WindowsAPI.FindWindow("IEFrame", null);
            string resStr =
                WindowsAPILib.GetWindowText(HWnd);

            if (resStr.Contains("MatchMail Agen"))
                WindowsAPI.SetForegroundWindow(HWnd);

        }
    }
}
